package com.pc.tas.learning.trace.index;

import java.text.SimpleDateFormat;

public class TraceSearchFields {
	public static SimpleDateFormat dayDateFormat = new SimpleDateFormat(
			"yyyyMMdd");
	public static SimpleDateFormat dateFormat = new SimpleDateFormat(
			"yyyy-MM-dd HH:mm:ss");
	public static SimpleDateFormat dayFormat = new SimpleDateFormat(
			"yyyy-MM-dd");
	public static SimpleDateFormat monthFormat = new SimpleDateFormat("yyyy-MM");
	
	public static SimpleDateFormat hourFormat = new SimpleDateFormat("HH-mm");
	
	public enum Type{
        view,
        search,
        login,
        favor,
        cart,
        order;
    }

	public static final class Keyword {
		public static final String ID = "id";
		public static final String PAGE_ID = "page_id";
		public static final String IP = "ip";
		public static final String TYPE = "type";
		public static final String USERID = "user-id";
		public static final String TIME = "time";
		public static final String DAY = "day";
		public static final String MONTH = "month";
		public static final String HOUR = "hour";
		public static final String PV = "pv";
		public static final String UV = "uv";
		public static final String REFERRER = "referrer";
		public static final String URL = "url";
		public static final String CATEGORY = "category";
        public static final String PAGE_CATEGORY = "page_category";
		public static final String SEARCH_ENGINE = "search-engine";
		public static final String SE_KEYWORD = "se-keyword";

		public static final String AREA = "area";

	}

}
